package com.ruicar.afs.cloud.message.sendmessage.config;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @author infinity
 * @version 1.0
 * @date 2020/7/13 14:49
 */
@Data
@Configuration
@Component
public class MessageConfig {
    @ApiModelProperty("消息来源自那个系统")
    @Value("${com.greatwall.systems.message-system.uid}")
    private String uid;

    @ApiModelProperty("0001 发短信 0002 发邮件 00031发微信")
    private String code = "0001";

    @ApiModelProperty("0001 发短信 0002 发邮件 00031发微信")
    private String code_0002 = "0002";

    @ApiModelProperty("0001 发短信 0002 发邮件 00031发微信")
    private String code_00031 = "00031";

    @ApiModelProperty("部门ID:004-零售信贷部门")
    private String deptId = "004";

    @ApiModelProperty("消息来源所属分类:核心系统")
    private String origin = "0000";


}
